package com.mrd.gtimp.business.entity;

import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

/**
 * <p>
 * application name: gtimp
 * <p>
 * copyright: Copyright@2012 明睿达科技有限公司
 */
/**
 * @author yangyl
 */
@Entity(name = "T_BIZ_CONTRACT_TERMS")
public class ContractTerms implements Serializable {
	private static final long	serialVersionUID	= 1L;

	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	private String	          id;

	private String	          contract_total_chn;

	private String	          contract_total_en;

	private String	          price_terms_chn;

	private String	          price_terms_en;

	private String	          packing_chn;

	private String	          packing_en;

	private String	          shipment_time_chn;

	private String	          shipment_time_en;

	private String	          loading_port_chn;

	private String	          loading_port_en;

	private String	          destination_port_chn;

	private String	          destination_port_en;

	private String	          payment_terms_chn;

	private String	          payment_terms_en;

	private String	          shipping_marks_chn;

	private String	          shipping_marks_en;

	private String	          currency_chn;

	private String	          currency_en;

	/**
	 * 相关业务
	 * @return
	 */
	@OneToOne
	@JoinColumn(name = "DECLARATION_ID", updatable = false)
	private Declaration	      declaration;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getContract_total_chn() {
		return contract_total_chn;
	}

	public void setContract_total_chn(String contract_total_chn) {
		this.contract_total_chn = contract_total_chn;
	}

	public String getContract_total_en() {
		return contract_total_en;
	}

	public void setContract_total_en(String contract_total_en) {
		this.contract_total_en = contract_total_en;
	}

	public String getPrice_terms_chn() {
		return price_terms_chn;
	}

	public void setPrice_terms_chn(String price_terms_chn) {
		this.price_terms_chn = price_terms_chn;
	}

	public String getPrice_terms_en() {
		return price_terms_en;
	}

	public void setPrice_terms_en(String price_terms_en) {
		this.price_terms_en = price_terms_en;
	}

	public String getPacking_chn() {
		return packing_chn;
	}

	public void setPacking_chn(String packing_chn) {
		this.packing_chn = packing_chn;
	}

	public String getPacking_en() {
		return packing_en;
	}

	public void setPacking_en(String packing_en) {
		this.packing_en = packing_en;
	}

	public String getShipment_time_chn() {
		return shipment_time_chn;
	}

	public void setShipment_time_chn(String shipment_time_chn) {
		this.shipment_time_chn = shipment_time_chn;
	}

	public String getShipment_time_en() {
		return shipment_time_en;
	}

	public void setShipment_time_en(String shipment_time_en) {
		this.shipment_time_en = shipment_time_en;
	}

	public String getLoading_port_chn() {
		return loading_port_chn;
	}

	public void setLoading_port_chn(String loading_port_chn) {
		this.loading_port_chn = loading_port_chn;
	}

	public String getLoading_port_en() {
		return loading_port_en;
	}

	public void setLoading_port_en(String loading_port_en) {
		this.loading_port_en = loading_port_en;
	}

	public String getDestination_port_chn() {
		return destination_port_chn;
	}

	public void setDestination_port_chn(String destination_port_chn) {
		this.destination_port_chn = destination_port_chn;
	}

	public String getDestination_port_en() {
		return destination_port_en;
	}

	public void setDestination_port_en(String destination_port_en) {
		this.destination_port_en = destination_port_en;
	}

	public String getPayment_terms_chn() {
		return payment_terms_chn;
	}

	public void setPayment_terms_chn(String payment_terms_chn) {
		this.payment_terms_chn = payment_terms_chn;
	}

	public String getPayment_terms_en() {
		return payment_terms_en;
	}

	public void setPayment_terms_en(String payment_terms_en) {
		this.payment_terms_en = payment_terms_en;
	}

	public String getShipping_marks_chn() {
		return shipping_marks_chn;
	}

	public void setShipping_marks_chn(String shipping_marks_chn) {
		this.shipping_marks_chn = shipping_marks_chn;
	}

	public String getShipping_marks_en() {
		return shipping_marks_en;
	}

	public void setShipping_marks_en(String shipping_marks_en) {
		this.shipping_marks_en = shipping_marks_en;
	}

	public Declaration getDeclaration() {
		return declaration;
	}

	public void setDeclaration(Declaration declaration) {
		this.declaration = declaration;
	}

	public String getCurrency_chn() {
		return currency_chn;
	}

	public void setCurrency_chn(String currency_chn) {
		this.currency_chn = currency_chn;
	}

	public String getCurrency_en() {
		return currency_en;
	}

	public void setCurrency_en(String currency_en) {
		this.currency_en = currency_en;
	}

}
